package com.jacars;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import com.jacars.common.ribbon.annotation.EnableBaseFeignInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author zlt
 * @date 2019/10/5
 * <p>
 * Blog: https://zlt2000.gitee.io
 * Github: https://github.com/zlt2000
 */
@EnableFeignClients
@EnableBaseFeignInterceptor
@EnableDiscoveryClient
@EnableMethodCache(basePackages = "com.jacars")
@EnableCreateCacheAnnotation
//@MapperScan("com.jacars.gateway.mapper")
@SpringBootApplication
public class GatewayAdminApp {
    public static void main(String[] args) {
        SpringApplication.run(GatewayAdminApp.class, args);
    }
}